package com.uls.zsw.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 用电信息对象 zsw_electricity_usage_info
 * 
 * @author zsw
 * @date 2024-11-25
 */
public class ElectricityUsageInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用电信息编号 */
    private Long electricityUsageId;

    /** 宿舍编号 */
    @Excel(name = "宿舍编号")
    private Long dormitoryId;

    /** 电表编号 */
    @Excel(name = "电表编号")
    private Long meterId;

    /** 电源编号 */
    @Excel(name = "电源编号")
    private Long electricityId;

    /** 计费开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计费开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 使用天数 */
    @Excel(name = "计费结束日期")
    private Integer endDate;

    /** 价格(元/KW·h) */
    @Excel(name = "价格(元/KW·h)")
    private BigDecimal electricityPrice;

    /** 起始电表读数(KW·h) */
    @Excel(name = "起始电表读数(KW·h)")
    private BigDecimal startReading;

    /** 结算电表读数(KW·h) */
    @Excel(name = "结算电表读数(KW·h)")
    private BigDecimal endReading;

    /** 总用电量(KW·h) */
    @Excel(name = "总用电量(KW·h)")
    private BigDecimal electricityUsed;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private Integer deleteFlag;

    private String selecteddn;

    private String selectedmm;

    private String correntes;

    private String electricstatus;

    public String getElectricstatus() {
        return electricstatus;
    }

    public void setElectricstatus(String electricstatus) {
        this.electricstatus = electricstatus;
    }

    public String getSelecteddn() {
        return selecteddn;
    }

    public void setSelecteddn(String selecteddn) {
        this.selecteddn = selecteddn;
    }

    public void setElectricityUsageId(Long electricityUsageId)
    {
        this.electricityUsageId = electricityUsageId;
    }

    public Long getElectricityUsageId() 
    {
        return electricityUsageId;
    }
    public void setDormitoryId(Long dormitoryId) 
    {
        this.dormitoryId = dormitoryId;
    }

    public Long getDormitoryId() 
    {
        return dormitoryId;
    }
    public void setMeterId(Long meterId) 
    {
        this.meterId = meterId;
    }

    public Long getMeterId() 
    {
        return meterId;
    }
    public void setElectricityId(Long electricityId) 
    {
        this.electricityId = electricityId;
    }

    public Long getElectricityId() 
    {
        return electricityId;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate()
    {
        return startDate;
    }
    public void setEndDate(Integer endDate)
    {
        this.endDate = endDate;
    }

    public Integer getEndDate()
    {
        return endDate;
    }
    public void setElectricityPrice(BigDecimal electricityPrice) 
    {
        this.electricityPrice = electricityPrice;
    }

    public BigDecimal getElectricityPrice() 
    {
        return electricityPrice;
    }
    public void setStartReading(BigDecimal startReading) 
    {
        this.startReading = startReading;
    }

    public BigDecimal getStartReading() 
    {
        return startReading;
    }
    public void setEndReading(BigDecimal endReading) 
    {
        this.endReading = endReading;
    }

    public BigDecimal getEndReading() 
    {
        return endReading;
    }
    public void setElectricityUsed(BigDecimal electricityUsed) 
    {
        this.electricityUsed = electricityUsed;
    }

    public BigDecimal getElectricityUsed() 
    {
        return electricityUsed;
    }
    public void setDeleteBy(String deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy() 
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }

    public String getSelectedmm() {
        return selectedmm;
    }

    public void setSelectedmm(String selectedmm) {
        this.selectedmm = selectedmm;
    }

    public String getCorrentes() {
        return correntes;
    }

    public void setCorrentes(String correntes) {
        this.correntes = correntes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("electricityUsageId", getElectricityUsageId())
            .append("dormitoryId", getDormitoryId())
            .append("meterId", getMeterId())
            .append("electricityId", getElectricityId())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("electricityPrice", getElectricityPrice())
            .append("startReading", getStartReading())
            .append("endReading", getEndReading())
            .append("electricityUsed", getElectricityUsed())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("deleteFlag", getDeleteFlag())
            .append("selecteddn",getSelecteddn())
            .append("selectedmm",getSelectedmm())
            .append("correntes",getCorrentes())
            .toString();
    }
}
